xen/arm: vpl011: Add a new maybe_add_console_evtchn_fd function in xenconsole
authorBhupinder Thakur <bhupinder.thakur@linaro.org>
Wed, 27 Sep 2017 06:13:22 +0000 (11:43 +0530)
committerStefano Stabellini <sstabellini@kernel.org>
Tue, 3 Oct 2017 22:23:37 +0000 (15:23 -0700)
commit11b933a228e7d9ada24509d69bcf204cd1d8deb8
treeff238b14a348ee32a4f5680abd38aac8bf520381
parent46982db8c65e9a6a3da68c4e37da57c603564157
xen/arm: vpl011: Add a new maybe_add_console_evtchn_fd function in xenconsole

This patch introduces a new maybe_add_console_evtchn_fd function. This
function adds the console event channel FD to list of polled FDs.

Signed-off-by: Bhupinder Thakur <bhupinder.thakur@linaro.org>
Acked-by: Wei Liu <wei.liu2@citrix.com>
tools/console/daemon/io.c